package micro.beauty.order.feign.fallback;

import micro.beauty.common.core.ResponseData;
import micro.beauty.common.core.ResponseUtil;
import micro.beauty.order.feign.IOrderFeignClient;
import org.springframework.stereotype.Component;
/**
* @Description:    订单rpc fallback
* @Author:         Liuliya
* @CreateDate:     2020/10/15 22:50
*/
@Component
public class OrderFeignClientFallback implements IOrderFeignClient {


    @Override
    public ResponseData list() {
        return new ResponseUtil<>().error("订单服务IOrderFeignClient异常");
    }
}
